{% extends 'base.html' %}
{% load static %}
{% block title %} 客户跟进记录 {% endblock %}

{% block content %}
    <div class="luffy-container">
        <h1>{{ customer.name }}跟进记录</h1>
        {% for row in record_list %}
            <div class="panel panel-default">
                <div class="panel-body">
                    {{ row.note }}
                    <div style="margin: 5px;">
                        <div style="display: inline"><i class="fa fa-user-o" aria-hidden="true"></i>{{ row.consultant.name }}</div>
                        <div style="display: inline"><i class="fa fa-clock-o" aria-hidden="true"></i>{{ row.date|date:'Y-m-d' }}</div>
                    </div>
                </div>
            </div>
        {% endfor %}

    </div>
{% endblock %}